package com.sihan.swvp.dao.video;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;
import com.sihan.swvp.dao.BaseDao;
import com.sihan.swvp.entity.video.VideoSyn;

/**
 * 视频管理Dao
 * @author jch
 *
 */
public interface VideoManagerDao extends BaseDao{
	
	/**
	 * 获取视频
	 * @param params 参数
	 * @return
	 */
	public Page<Map<String, Object>> getVideo(Map<String,Object> params);

	
	/**
	 * 通过视频ID获取视频数据
	 * @param videoid 视频ID
	 * @return
	 */
	public VideoSyn getVideoById(@Param("id")int videoid);


	public List<Map<String, Object>> getWgbj(@Param("videoid")Integer videoid);
	
	public void deleteVideo(@Param("videoid")Integer videoid);
}
